package cn.me.alphamq.broker.event.model.broker;

import cn.me.alphamq.common.entity.req.CreateTopicReq;
import cn.me.alphamq.common.event.model.Event;

/**
 * 创建 topic 的事件
 *
 * @author f
 */
public class CreateTopicEvent extends Event {

    private CreateTopicReq createTopicReq;

    public CreateTopicEvent(CreateTopicReq createTopicReq) {
        this.createTopicReq = createTopicReq;
    }

    public CreateTopicReq getCreateTopicReq() {
        return createTopicReq;
    }

    public void setCreateTopicReq(CreateTopicReq createTopicReq) {
        this.createTopicReq = createTopicReq;
    }
}
